package com.outsource.framework.domain;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name="t_yonghuguiji")
@GenericGenerator(name="t_yhgj_identity",strategy="identity")
public class Trecord implements Serializable{

	private static final long serialVersionUID = 3940710058737910177L;

	@Id
	@Column(name="id",nullable=false,length=11)
	@GeneratedValue(generator="t_yhgj_identity")
	private Integer id;
	
	@Column(name="mobile")
	private String mobile;
	
	@Column(name="create_time")
	private Date createtime;
	
	@Column(name="type")
	private String type;
	
	@Column(name="status")
	private Integer status;
	
	@Column(name="level")
	private String level;

	public Trecord(){}
	
	public Trecord(String mobile,Date createtime,
			String type,Integer status,String level){
		this.mobile = mobile;
		this.createtime = createtime;
		this.type = type;
		this.status = status;
		this.level = level;
	}
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}
	
	
}
